@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";

body {
  margin: 0;
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

// html {
//   height: 100%;
//   box-sizing: border-box;
// }

#child-app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.app-container {
  height: 100%;
  padding: 20px;
  .content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    display: flex;
    .left {
      float: left;
      width: 23%;
      height: 100%;
      padding: 5px;
    }

    .right {
      width: 77%;
      padding: 5px;
      height: 100%;
      display: flex;
      flex-direction: column;
      padding-bottom: 15px;
      .foot {
        text-align: center;
        width: 100%;
        height: 30px;
        font-size: 13px;

        .el-pager li.active {
          color: $queryBtnColor;
        }

        .el-pager li:hover {
          color: $queryBtnColor;
        }

        .el-pagination button:hover {
          color: $queryBtnColor;
        }

        .el-pagination__editor.el-input .el-input__inner {
          height: 24px;
        }

        .el-input__inner:focus {
          border-color: $queryBtnColor;
        }
      }
    }
  }
}

.scroll-theme::-webkit-scrollbar {
  width: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  scrollbar-width: thin;
}

.scroll-theme::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}
